How do I make this onClick function work for multiple dropdown menus

join shbcf.ru